<div class="hero-unit">
    <h4 class="api_main_intro">商品详细</h4>
    <div class="well">
        商品详细信息
    </div>
    <h5>1.接口说明</h5>
	<div>
        /// 获取商品详细信息
	</div>
    <h5>2.应用场景</h5>
    <h5>3.接口调用说明</h5>
    <h6>3.1 请求说明</h6>
    <table class="table table-bordered table-striped">
        <tr>
            <td>url</td>
            <td>http://www.api.100hg.com/apiTools/router.verify</td>
        </tr>
        <tr>
            <td>格式</td>
            <td>JSON</td>
        </tr>
        <tr>
            <td>请求方式</td>
            <td>GET</td>
        </tr>        
    </table>
    <h6>3.2 请求参数说明</h6>
    <table class="table table-bordered table-striped">
        <tr>
            <th>名称</th>
            <th>类型</th>
            <th>是否必须</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>method</td>
			<td>String</td>
			<td>是</td>
            <td>固定为：product.item</td>
        </tr>
        <tr>
            <td>product_id</td>
			<td>Int</td>
			<td>是</td>
            <td>商品ID</td>
        </tr>
        <tr>
            <td>ticket</td>
			<td>String</td>
			<td>否</td>
            <td>登录凭证</td>
        </tr>
    </table>
    <h6>3.3 返回参数说明</h6>
    <table class="table table-bordered table-striped">
        <tr>
            <th>名称</th>
            <th>类型</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>state</td>
			<td>Int</td>
            <td>状态</td>
        </tr>
        <tr>
            <td>msg</td>
			<td>String</td>
            <td>错误信息</td>
        </tr>
        <tr>
            <td>result</td>
			<td>Object</td>
            <td>返回结果</td>
        </tr>
        <tr>
            <td>result.id</td>
			<td>Int</td>
            <td>商品ID</td>
        </tr>
        <tr>
            <td>result.num</td>
			<td>String</td>
            <td>货号</td>
        </tr>
        <tr>
            <td>result.name</td>
			<td>String</td>
            <td>名称</td>
        </tr>
        <tr>
            <td>result.pictures</td>
			<td>Array</td>
            <td>
			图片路径：<br/>
			result.pictures[0]为120X120,<br/>
			result.pictures[1]为160X160,<br/>
			result.pictures[2]为300X300
			</td>
        </tr>
        <tr>
            <td>result.pic_big</td>
			<td>Array</td>
            <td>
			多首图：固定300X300，目前仅有1张首图，后续扩展<br/>
			result.pic_big[0]
			</td>
        </tr>
        <tr>
            <td>result.price_market</td>
			<td>Double</td>
            <td>市场价</td>
        </tr>
        <tr>
            <td>result.price</td>
			<td>Double</td>
            <td>会员价</td>
        </tr>
        <tr>
            <td>result.price_vip</td>
			<td>Double</td>
            <td>VIP价 [仅商家登录有值]</td>
        </tr>
        <tr>
            <td>result.brand_name</td>
			<td>String</td>
            <td>品牌名称</td>
        </tr>
        <tr>
            <td>result.min_count</td>
			<td>Int</td>
            <td>最低购买数量</td>
        </tr>
        <tr>
            <td>result.stock</td>
			<td>Int</td>
            <td>库存</td>
        </tr>
        <tr>
            <td>result.iscollect</td>
			<td>Int</td>
            <td>是否已收藏：0否(默认)、1是 [已登录用户有效]</td>
        </tr>
        <tr>
            <td>result.isbuy</td>
			<td>Int</td>
            <td>是否可以购买：0否、1是</td>
        </tr>
        <tr>
            <td>result.msg</td>
			<td>String</td>
            <td>不能购买原因</td>
        </tr>
        <tr>
            <td>result.detail</td>
			<td>String</td>
            <td>商品描述（暂缺）</td>
        </tr>
        <tr>
            <td>result.sizes</td>
			<td>Json</td>
            <td>商品尺码集合</td>
        </tr>
        <tr>
            <td>result.sizes[i].name</td>
			<td>String</td>
            <td>尺码名称</td>
        </tr>
		<tr>
            <td>result.sizes[i].colors</td>
			<td>Array</td>
            <td>当前尺码可选颜色数组</td>
		</tr>
        <tr>
            <td>result.sizes[i].colors[i]</td>
			<td>String</td>
            <td>颜色名称</td>
        </tr>
        <tr>
            <td>result.colors</td>
			<td>Array</td>
            <td>商品全部颜色数组</td>
        </tr>
        <tr>
            <td>result.colors[i]</td>
			<td>String</td>
            <td>颜色名称</td>
        </tr>
    </table>
</div>